* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #333;
    font-size: 2.5em;
}

.form-section, .users-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
}

h2 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.5em;
}

form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 200px;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #5a67d8;
}

#refreshBtn {
    background: #48bb78;
    margin-bottom: 15px;
}

#refreshBtn:hover {
    background: #38a169;
}

.users-list {
    display: grid;
    gap: 10px;
}

.user-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-card h3 {
    color: #333;
    margin-bottom: 5px;
}

.user-card p {
    color: #666;
    font-size: 0.9em;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

.error {
    color: #e53e3e;
    background: #fed7d7;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.success {
    color: #38a169;
    background: #c6f6d5;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

@media (max-width: 600px) {
    form {
        flex-direction: column;
    }

    input {
        min-width: 100%;
    }
}